// 页面路径：store/index.js 
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

const store = new Vuex.Store({
	state: {
		tabBarID: 0
	},
	mutations: {
		changeTabBarID(state, id) {
			state.tabBarID = id
		}
	}
})
export default store